/**
  ******************************************************************************
  * @file    interrupt.c 
  * @author  sinowealth
  * @version V1.1.0
  * @date    2021-08-30
  * @brief   Main Interrupt Service Routines.
  *          This file provides template for all exceptions handler and 
  *          peripherals interrupt service routine.
  ******************************************************************************
  */

/* Includes ------------------------------------------------------------------*/
#include "sh30f9xx_sa0_libcfg.h"

/** @addtogroup Template_Project
  * @{
  */

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/

/******************************************************************************/
/*            Cortex-M0+ Processor Exceptions Handlers                         */
/******************************************************************************/

/**
  * @brief   This function handles NMI exception.
  * @param  None
  * @retval None
  */
void NMI_Handler(void)
{
}

/**
  * @brief  This function handles Hard Fault exception.
  * @param  None
  * @retval None
  */
void HardFault_Handler(void)
{
    /* Go to infinite loop when Hard Fault exception occurs */
    while (1)
    {
//        IWDT->CLR = 0xAAAA;
    }
}

/**
  * @brief  This function handles SVC exception.
  * @param  None
  * @retval None
  */
void SVC_Handler(void)
{
}

/**
  * @brief  This function handles Debug Monitor exception.
  * @param  None
  * @retval None
  */
void DebugMon_Handler(void)
{
}

/**
  * @brief  This function handles PendSVC exception.
  * @param  None
  * @retval None
  */
void PendSV_Handler(void)
{
}

/**
  * @brief  This function handles SysTick exception.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{	
	
}

/**
  * @brief  This function handles UART interrupt request.
  * @param  None
  * @retval None
  */

//void UART1_Handler(void)
//{
//}

/**
  * @brief  This function handles ADC exception.
  * @param  None
  * @retval None
  */
void ADC_Handler(void)
{
}

/**
  * @brief  This function handles DMA exception.
  * @param  None
  * @retval None
  */

//void DMA_CH2_3_Handler(void)
//{
//}

/**
  * @brief  This function handles LED DRIVER MOULD exception.
  * @param  None
  * @retval None
  */
void SPI1_LED_Handler(void)
{

}

/**
  * @brief  This function handles TIM exception.
  * @param  None
  * @retval None
  */

//void TIM0_Handler(void)
//{
//	TIM_ClearFlag(TIM0);

//	
//}
/**
  * @brief  This function handles TIM exception.
  * @param  None
  * @retval None
  */


/************************ (C) COPYRIGHT Sinowealth *****END OF FILE****/
